//
//  TipHander.h
//  LotteryClient
//
//  Created by Suny on 14-7-17.
//  Copyright (c) 2014年 CTTC. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TipView.h"

#define NetWork_NotReachable            @"哎哟～您的网络有问题,\n请查看网络设置"//数据请求失败的时候.
#define Data_Error                      @"服务异常，请稍后再试"//网络连接没问题,服务器返回的数据有问题.
@interface TipHandler : NSObject

//recommand:use these api.
+ (void)showWithTitle:(NSString *)title type:(TipType)type;
+ (void)showFail:(NSString *)title;
+ (void)showSuccess:(NSString *)title;
+ (void)showAlert:(NSString *)title;

#pragma mark TipHandler simple wrapper
+ (void)showNetWorkFailedOnlyTextWithResponseStatus:(NSInteger)responseStatus;

+ (void)showDataErrorTextOnly;

+ (void)showNewWorkNotReachable;

@end
